<!--{template common/header_simple_start}-->
<link href="static/css/common.css?{VERHASH}" rel="stylesheet" media="all">
<script type="text/javascript" src="static/js/jquery.leftDrager.js?{VERHASH}"></script>
<script src="admin/scripts/admin.js?{VERHASH}"></script>
<style>
html, body {
	overflow: hidden;
	background: #FBFBFB;
}
</style>
<!--{template common/header_simple_end}-->
<nav class="navbar navbar-default bs-navbar-default navbar-fixed-top" role="navigation" style="margin:0"> 
  <ul class="nav nav-pills clearfix" style="padding:0 10px;">
        <strong class="pull-left" style="padding-left:0px;">筛选：</strong>
        <li class="dropdown"> <a href="{BASESCRIPT}?mod=app&group=$group" data-toggle="dropdown" role="button" id="drop-group" class="dropdown-toggle"><!--{if $type}-->$typearr[$type]<!--{else}-->全部<!--{/if}--><b class="caret"></b></a>
          <ul aria-labelledby="drop-group" role="menu" class="dropdown-menu" id="drop-group-menu">
            <li role="presentation"><a href="{BASESCRIPT}?mod=filemanage" tabindex="-1" role="menuitem" >全部</a></li>
            <!--{loop $typearr $type $value}-->
            <li role="presentation"><a href="{BASESCRIPT}?mod=filemanage&type=$type" tabindex="-1" role="menuitem" >$value</a></li>
            <!--{/loop}-->
          </ul>
        </li>
        <li class="pull-right" style="padding-top:3px;">
          <form name="search" action="{BASESCRIPT}" method="get">
            <input type="hidden" name="mod" value="filemanage" />
            <div class="input-group group-sm" style="width:180px;">
              <input name="keyword"  type="text" value="$keyword" class="form-control "  placeholder="文件名称或用户姓名">
              <a href="javascript:;" class="input-group-addon" onclick="this.parentNode.parentNode.submit();return false;"><i class="glyphicon glyphicon-search"></i></a> </div>
          </form>
        </li>
      </ul>
</nav>
<div class="bs-container clearfix" >
  <div class="bs-main-container">
    
    <div class="main-content clearfix" style="border-top:1px solid #FFF" >
      <form id="appform" name="appform" class="form-horizontal " action="{BASESCRIPT}?mod=filemanage" method="post" >
        <input type="hidden" name="delsubmit" value="true" />
        <input type="hidden" name="formhash" value="{FORMHASH}" />
         <input type="hidden" name="refer" value="$refer" />
        <table class="table table-hover" style="border-bottom:1px solid #DDD">
          <thead><th></th><th>文件名称</th><th><a href="{BASESCRIPT}?mod=filemanage&type=$type&keyword=$keyword&size={eval echo $_GET[size]=='desc'?asc:desc;}" <!--{if $_GET[size]}-->class="danger"<!--{/if}-->>文件大小<!--{if $_GET[size]=='desc'}--><b class="caret"></b><!--{elseif $_GET[size]=='asc'}--><b class="caret" style="transform:rotate(180deg)"></b><!--{/if}--></a></th><th>文件类型</th><th>文件位置</th><th>所有者</th><th><a href="{BASESCRIPT}?mod=filemanage&type=$type&keyword=$keyword" <!--{if !$_GET[size]}-->class="danger"<!--{/if}-->>添加时间</a></th><th>删除</th></thead>
          <!--{loop $list $value}-->
          <tr>
            <td width="40"><input  type="checkbox"  name="del[]" value="$value[icoid]" style="width:20px;" /></td>
            <td><a href="{ADMINSCRIPT}?mod=filemanage&op=preview&icoid=$value[icoid]" title="预览" target="hideframe">
            	<img class="$value[type]" src="$value[img]" />$value[name]</a></td>
             <td>$value['size']</td>
             <td>$value['ftype']</td>
             <td>$value[path]</td>
            <td><a href="user.php?uid=$value[uid]" onclick="">$value[username]</a></td>
           
            <td>$value[dateline]</td>
            <td></a> <a class="btn btn-link" href="{BASESCRIPT}?mod=filemanage&do=delete&icoid=$value[icoid]&refer={eval echo urlencode($refer);}" title="删除" style="color:#fa8734" onclick="if(confirm('确定要彻底删除（此操作不可恢复）此文件吗？')){return true}else{return false}"><i class="glyphicon glyphicon-remove"></i></a></td>
          </tr>
          <!--{/loop}-->
          <tr>
            <td colspan="20"><label for="chkall" class="checkbox-inline"><input type="checkbox" name="chkall" id="chkall"  onclick="checkAll('prefix', this.form, 'del')">全选</label>&nbsp;&nbsp; &nbsp;<input type="submit" class="btn btn-primary" value="删除" onclick="if(confirm('确定要彻底删除（此操作不可恢复）所有选择的文件吗？')){return true}else{return false}" /> $multi </td>
          </tr>
        </table>
      </form>
    </div>
  </div>
</div>
<iframe id="hideframe" name="hideframe" src="about:blank" frameborder="0" marginheight="0" marginwidth="0" width="0" height="0" allowtransparency="true" style="display:none;z-index:-99999"></iframe>
<script type="text/javascript">
jQuery('.left-drager').leftDrager_layout();
</script> 
<script src="static/bootstrap/js/bootstrap.min.js?{VERHASH}"></script> 
<!--{template common/footer_simple}--> 